package com.his.dictuserdef.dao;

import com.his.dictuserdef.entity.DictUserdefCategory;
import com.his.dictuserdef.entity.DictUserdefCategory_Detailed;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DictUserdefCategoryMapper {
    int deleteByPrimaryKey(String id);
    int insert(DictUserdefCategory record);
    int insertSelective(DictUserdefCategory record);
    DictUserdefCategory selectByPrimaryKey(String id);
    int updateByPrimaryKeySelective(DictUserdefCategory record);
    int updateByPrimaryKey(DictUserdefCategory record);
    //==============自定义功能============================

    /**
     *查询医院所有分类信息
     */
    List<DictUserdefCategory_Detailed> selectAll(String hospid);
}